package ca.seia.comp6521.a1.memory;

import static org.junit.Assert.*;

import org.junit.Test;

public class OutputMemoryBufferTestCase {

	
	@Test
	public void testBufferFullWhenCapcityReached() throws Exception {
		OutputMemoryBuffer outputMemoryBuffer = new OutputMemoryBuffer(2);
		
		outputMemoryBuffer.Insert(1);
		outputMemoryBuffer.Insert(2);
		
		assertTrue("Buffer Is Full",outputMemoryBuffer.isBufferFull());
	}
}
